package com.serial.comm.core.telegram;

import com.serial.comm.core.telegram.builder.Builder;

/**
 * 报文建造 指导者
 */
public class Director {

    /**
     * 生产 新报文
     *
     * @param builder
     */
    public void produce(Builder builder) {
        builder.buildHeader();
        builder.buildGUID();
        builder.buildPriority();
        builder.buildOrigin();
        builder.buildDestination();
        builder.buildText();
    }
}


